package com.swpu.project.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author swpuyanxiegroup1
 * @since 2024-07-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("data_log")
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 日志id
     */
    @TableId(value = "log_id", type = IdType.AUTO)
    private String logId;

    /**
     * 修改类型
     */
    private String logType;

    /**
     * 被修改的表
     */
    private String logTable;

    /**
     * 修改时间
     */
    private LocalDate logTime;

    /**
     * 修改前
     */
    private String logBefore;

    /**
     * 修改后
     */
    private String logAfter;

    /**
     * 操作员
     */
    private String logAdmin;


}
